//封装Pay相关的接口函数

import request from '@/utils/request'

export const getOrderService = (id) => {
    return request({
        url:`/user/order/${id}`,
        method: 'GET'
        
    })
}

export const goAliPayService = (id) => {
    return request({
        url:`/pay/aliPay/${id}`,
        method: 'GET',
        params:{
            id
        }
    })
}